#include<ros/ros.h>
#include<std_msgs/Float64.h>


int main(int argc, char** argv)
{
    ros::init(argc,argv,"fake_pub_node");
    ros::NodeHandle nh;
    ros::Publisher pub = nh.advertise<std_msgs::Float64>("/situ",1);

    ros::Publisher dx_pub = nh.advertise<std_msgs::Float64>("/dx",1);
    ros::Publisher theta_pub = nh.advertise<std_msgs::Float64>("/theta",2);
    ros::Rate rate(5);
    std_msgs::Float64 zero;
    zero.data = 0.0;


    std_msgs::Float64 data;
    data.data = 1;
    while(ros::ok())
    {   
        data.data += 0.0001;
        pub.publish(data);

        zero.data = 1.0;
        theta_pub.publish(zero);
        zero.data = 0.0;

        dx_pub.publish(zero);


        rate.sleep();
    }
    return 0;
}